package hao.d02;

import java.util.Scanner;

public class Test5 {
        static String[][] a = new String[3][3];
        public static void main(String[] args) {
            Scanner scanner = new Scanner(System.in);
            for (int i = 0; i < 3; i++) {
                System.out.println("这是你输入的第"+(i+1)+"本书的编号 名称 单价");
                for (int j = 0; j <3 ; j++) {
                    a[i][j]=scanner.next();
                }
            }
            for (int i = 0; i <3 ; i++) {
                System.out.println("现在是输出的第"+(i+1)+"本书的信息");
                for (int j = 0; j <3 ; j++) {

                    System.out.println(a[i][j]);
                }
                System.out.println("\n");
            }
        }
    }


